home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / cstdio.arc / INCLUDE.ARC / ASCII.H < prev    next >
Text File  |  1985-09-05  |  3KB  |  74 lines

  1. /*    ascii.h - ASCII character values.
  2.     (C) Copyright 1983 Gregory R. Mansfield - All Rights Reserved.
  3.     G. R. Mansfield.  83/07/09.
  4.     Ver 1.2-5905.
  5. */
  6.  
  7. #define CV_NUL    0x00    /* null */
  8. #define CV_SOH    0x01    /* start of header */
  9. #define CV_STX    0x02    /* start of text */
  10. #define CV_ETX    0x03    /* end of text */
  11. #define CV_EOT    0x04    /* end of transmission */
  12. #define CV_ENQ    0x05    /* enquire */
  13. #define CV_ACK    0x06    /* acknowledge */
  14. #define CV_BEL    0x07    /* bell */
  15. #define CV_BS    0x08    /* backspace */
  16. #define CV_HT    0x09    /* horizontal tab */
  17. #define CV_LF    0x0A    /* line feed */
  18. #define CV_VT    0x0B    /* vertical tab */
  19. #define CV_FF    0x0C    /* form feed */
  20. #define CV_CR    0x0D    /* carriage return */ 
  21. #define CV_SO    0x0E    /* shift out */
  22. #define CV_SI    0x0F    /* shift in */
  23.  
  24. #define CV_DLE    0x10    /* data link escape */
  25. #define CV_DC1    0x11    /* device control 1 */
  26. #define CV_DC2    0x12    /* device control 2 */
  27. #define CV_DC3    0x13    /* device control 3 */
  28. #define CV_DC4    0x14    /* device control 4 */
  29. #define CV_NAK    0x15    /* negative acknowledge */
  30. #define CV_SYN    0x16    /* synchronous idle */
  31. #define CV_ETB    0x17    /* end transmission block */
  32. #define CV_CAN    0x18    /* cancel */
  33. #define CV_EM    0x19    /* end of medium */
  34. #define CV_SUB    0x1A    /* substitute */
  35. #define CV_ESC    0x1B    /* escape */
  36. #define CV_FS     0x1C    /* file separator */
  37. #define CV_GS    0x1D    /* group separator */
  38. #define CV_RS    0x1E    /* record separator */
  39. #define CV_US    0x1F    /* unit separator */
  40.  
  41. #define CV_SP    0x20    /* SPACE */
  42. #define CV_DEL    0x7F    /* DELETE */
  43.  
  44. #define CV_SS3    0x8F    /* SS3 */
  45. #define CV_CSI    0x9B    /* CSI */
  46.  
  47. #define CV_CTA    0x01    /* ^A (SOH) */
  48. #define CV_CTB    0x02    /* ^B (STX) */
  49. #define CV_CTC    0x03    /* ^C (ETX) */
  50. #define CV_CTD    0x04    /* ^D (EOT) */
  51. #define CV_CTE    0x05    /* ^E (ENQ) */
  52. #define CV_CTF    0x06    /* ^F (ACK acknowledge) */
  53. #define CV_CTG    0x07    /* ^G (BEL bell) */
  54. #define CV_CTH    0x08    /* ^H (BS backspace) */
  55. #define CV_CTI    0x09    /* ^I (HT horizontal tab) */
  56. #define CV_CTJ    0x0A    /* ^J (LF line feed) */
  57. #define CV_CTK    0x0B    /* ^K (VT vertical tab) */
  58. #define CV_CTL    0x0C    /* ^L (FF form feed) */
  59. #define CV_CTM    0x0D    /* ^M (CR carriage return) */ 
  60. #define CV_CTN    0x0E    /* ^N (SO shift out) */
  61. #define CV_CTO    0x0F    /* ^O (SI shift in) */
  62.  
  63. #define CV_CTP    0x10    /* ^P (DLE data link escape) */
  64. #define CV_CTQ    0x11    /* ^Q (DC1 device control 1) */
  65. #define CV_CTR    0x12    /* ^R (DC2 device control 2) */
  66. #define CV_CTS    0x13    /* ^S (DC3 device control 3) */
  67. #define CV_CTT    0x14    /* ^T (DC4 device control 4) */
  68. #define CV_CTU    0x15    /* ^U (NAK negative acknowledge) */
  69. #define CV_CTV    0x16    /* ^V (SYN synchronous idle) */
  70. #define CV_CTW    0x17    /* ^W (ETB end transmission block) */
  71. #define CV_CTX    0x18    /* ^X (CAN cancel) */
  72. #define CV_CTY    0x19    /* ^Y (EM end of medium) */
  73. #define CV_CTZ    0x1A    /* ^Z (SUB substitute) */
  74.